package com.algoshow.model;

import java.awt.*;

/**
 * @author vvv
 * @date 2023-05-28 10 03
 * discription
 */
public class StackNode {

    public Character value;
    public Integer x;
    public Integer y;
    public Color color = new Color(13,128,0);

    public StackNode() {
    }

    public StackNode(Character value, Integer x, Integer y) {
        this.value = value;
        this.x = x;
        this.y = y;
    }

    @Override
    public String toString() {
        return "StackNode{" +
                "value=" + value +
                '}';
    }
}
